package com.jy.rhin.model.body.zhuanzhenjl;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Getter;
import lombok.Setter;

/**
 * 手术
 */
@Getter
@Setter
public class ShouShu {

    /**
     * 手术/操作 代码
     */
    @XPath(path = "/entry/procedure/code[@codeSystem='2.16.156.10011.2.3.3.12']",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_093_01))
    private CodeObject shouShuDM;

    /**
     * 操作日期、时间
     */
    @XPath(path = "/entry/procedure/effectiveTime/@value")
    private String effectiveTime;

    /**
     * 手术名称
     */
    @XPath(path = "/entry/procedure/entryRelationship/observation/code[@code='DE06.00.094.00']/../value/text()")
    private String shouShuMC;

    /**
     * 麻醉方法
     */
    @XPath(path = "/entry/procedure/entryRelationship/observation/code[@code='DE06.00.074.00']/../value/text()")
    private String maZuiFF;

    /**
     * 麻醉方法代码
     */
    @XPath(path = "/entry/procedure/entryRelationship/observation/code[@code='DE06.00.073.00']/../value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_073_00))
    private CodeObject maZuiFFDM;

}
